package com.xusheng.cli.service;

import com.xusheng.cli.common.base.MyPage;
import com.xusheng.cli.common.base.MyService;
import com.xusheng.cli.entity.dictionaryModule.Category;
import com.xusheng.cli.entity.favoritesModule.Favorites;
import com.xusheng.cli.entity.videoModule.Video;
import com.xusheng.cli.req.FavoritesQueryReq;

import java.util.List;

/**
 * 收藏夹(Favorites)表服务接口
 *
 * @author lyh
 * @since 2023-04-27 17:23:53
 */
public interface FavoritesService extends MyService<Favorites> {

    MyPage<Video> favoritesPage(FavoritesQueryReq req, boolean flag);

    List<Category> categoryByCollect();

    List<Video> listByCategory(Long id);
}

